package com.logicalthinking.socialmall.service;

import com.github.chenlijia1111.utils.common.Result;
import java.util.List;
import com.logicalthinking.socialmall.entity.OrderAppend;

/**
 * 订单补充参数
 * @author chenLiJia
 * @since 2020-02-19 16:12:21
 **/
public interface OrderAppendServiceI {

    /**
     * 添加
     *
     * @param params      1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-19 16:12:21
     **/
    Result add(OrderAppend params);

    /**
     * 添加
     *
     * @param params      1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-19 16:12:21
     **/
    Result update(OrderAppend params);

    /**
     * 条件查询
     *
     * @param condition      1
     * @return      * @author chenLiJia
     * @since 2020-02-19 16:12:21
     **/
    List<OrderAppend> listByCondition(OrderAppend condition);

    /**
     * 批量添加
     * @param list
     * @return
     */
    Result batchAdd(List<OrderAppend> list);


}
